import { get, post, remove, put } from '@/server/request'
import { baseApi, RequestCode } from '@/server/base'

export const automaticMark={
    autoLabelSetting(params:{confidence:string|number,model_classes:string|number,modelName:string}){
        return   post(`${baseApi}/autoLabel/autoLabelSetting`,params)
    },
    autoLabelResult(imgId:number|string){
        return   put(`${baseApi}/autoLabel/autoLabelResult/${imgId}`) 
    },
    moduleList(){
        return   get(`${baseApi}/autoLabel/listOfModels`)  
    },
    labelList(params:{modelName:string}){
        return  post(`${baseApi}/autoLabel/queryClassesByModel`,params)  
    }
}